/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2010-12-22
 * Time: 9:39:32
 * To change this template use File | Settings | File Templates.
 */
//view plaincopy to clipboardprint?
//CKEDITOR.plugins.add('flvPlayer',
//{
//    init: function(editor)
//    {
//        //plugin code goes here
//        var pluginName = 'flvPlayer';
//        editor.ui.addButton('flvPlayer',
//        {
//            label: '插入Flv视频',
//            command: pluginName
//        });
//    }
//});
CKEDITOR.plugins.add('flvPlayer',
{
    init: function(editor)
    {
        //plugin code goes here
        var pluginName = 'flvPlayer';
        editor.ui.addButton('flvPlayer',
        {
            label: '插入Flv视频',
            command: pluginName
        });
        CKEDITOR.dialog.add(pluginName, this.path + 'dialogs/flvPlayer.js');
        editor.addCommand(pluginName, new CKEDITOR.dialogCommand(pluginName));
    }
});


